package com.jdcy.model.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jdcy.model.dao.AccountsMapper;
import com.jdcy.model.entity.Accounts;
import com.jdcy.model.service.AccountsService;

@Service
@Transactional
public class AccountsServiceImpl implements AccountsService {

	@Autowired
	private AccountsMapper accountsMapper;

	@Override
	public int add(Accounts t) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int update(Accounts t) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int delete(Integer id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Accounts queryById(Integer id) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Accounts> query() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Accounts login(Accounts accounts) {
		return accountsMapper.login(accounts);
	}

}
